package com.ruoyi.crm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 客户关系管理_联系人对象 crm_linkman
 * 
 * @author ruoyi
 * @date 2022-01-28
 */
public class CrmLinkman extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long linkmanId;

    /** 电话 */
    @Excel(name = "电话")
    private String linkmanTel;

    /** 姓名 */
    @Excel(name = "姓名")
    private String linkmanName;

    /** 描述 */
    @Excel(name = "描述")
    private String linkmanDesc;

    /** 公司id */
    @Excel(name = "公司id")
    private Long companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 操作员id */
    @Excel(name = "操作员id")
    private Long userId;

    /** 操作员名 */
    @Excel(name = "操作员名")
    private String userName;

    public void setLinkmanId(Long linkmanId) 
    {
        this.linkmanId = linkmanId;
    }

    public Long getLinkmanId() 
    {
        return linkmanId;
    }
    public void setLinkmanTel(String linkmanTel) 
    {
        this.linkmanTel = linkmanTel;
    }

    public String getLinkmanTel() 
    {
        return linkmanTel;
    }
    public void setLinkmanName(String linkmanName) 
    {
        this.linkmanName = linkmanName;
    }

    public String getLinkmanName() 
    {
        return linkmanName;
    }
    public void setLinkmanDesc(String linkmanDesc) 
    {
        this.linkmanDesc = linkmanDesc;
    }

    public String getLinkmanDesc() 
    {
        return linkmanDesc;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("linkmanId", getLinkmanId())
            .append("linkmanTel", getLinkmanTel())
            .append("linkmanName", getLinkmanName())
            .append("linkmanDesc", getLinkmanDesc())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .toString();
    }
}
